//******************************************************************************
//this code is protected by the GNU affero GPLv3
//author:Sylvain BERTRAND <sylvain.bertrand AT gmail dot com>
//                        <digital.ragnarok AT gmail dot com>
//******************************************************************************
#include "globals.h"

s8 display_get_registry(struct client *c,u32 registry_id)
{
  return registry_send(c,registry_id);
}

s8 display_sync(struct client *c,u32 callback_id)
{
  s8 r=wl_callback_ev_done(c,callback_id,0);
  if (r==LWL_OK) r=wl_display_ev_delete_id(c,callback_id);
  return r;
}
